package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模板信息对象 dzbq_tagtemplates
 * 
 * @author tianxingxia
 * @date 2025-02-08
 */
public class DzbqTagtemplates extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板ID */
    private Long templateId;

    /** 模板标题 */
    @Excel(name = "模板标题")
    private String title;

    /** 模板文件URL */
    @Excel(name = "模板文件URL")
    private String jsonUrl;

    /** 模板JSON */
    @Excel(name = "模板JSON")
    private String jsonContent;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String thumbnailsUrl;

    /** 模板属性 */
    private String attributes;

    /** 扩展价格 */
    private String extendPrices;

    /** 阈值 */
    private Long threshold;

    /** 模板背景 */
    @Excel(name = "模板背景")
    private String background;

    /** 所属系统 */
    @Excel(name = "所属系统")
    private Long systemId;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private Long typeId;

    /** 所属客户 */
    @Excel(name = "所属客户")
    private Long userId;

    /** 所属店铺 */
    @Excel(name = "所属店铺")
    private Long storeId;

    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUserId;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateCreated;

    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setJsonUrl(String jsonUrl) 
    {
        this.jsonUrl = jsonUrl;
    }

    public String getJsonUrl() 
    {
        return jsonUrl;
    }
    public void setJsonContent(String jsonContent) 
    {
        this.jsonContent = jsonContent;
    }

    public String getJsonContent() 
    {
        return jsonContent;
    }
    public void setThumbnailsUrl(String thumbnailsUrl) 
    {
        this.thumbnailsUrl = thumbnailsUrl;
    }

    public String getThumbnailsUrl() 
    {
        return thumbnailsUrl;
    }
    public void setAttributes(String attributes) 
    {
        this.attributes = attributes;
    }

    public String getAttributes() 
    {
        return attributes;
    }
    public void setExtendPrices(String extendPrices) 
    {
        this.extendPrices = extendPrices;
    }

    public String getExtendPrices() 
    {
        return extendPrices;
    }
    public void setThreshold(Long threshold) 
    {
        this.threshold = threshold;
    }

    public Long getThreshold() 
    {
        return threshold;
    }
    public void setBackground(String background) 
    {
        this.background = background;
    }

    public String getBackground() 
    {
        return background;
    }
    public void setSystemId(Long systemId) 
    {
        this.systemId = systemId;
    }

    public Long getSystemId() 
    {
        return systemId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setDateCreated(Date dateCreated) 
    {
        this.dateCreated = dateCreated;
    }

    public Date getDateCreated() 
    {
        return dateCreated;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templateId", getTemplateId())
            .append("title", getTitle())
            .append("jsonUrl", getJsonUrl())
            .append("jsonContent", getJsonContent())
            .append("thumbnailsUrl", getThumbnailsUrl())
            .append("attributes", getAttributes())
            .append("extendPrices", getExtendPrices())
            .append("threshold", getThreshold())
            .append("background", getBackground())
            .append("systemId", getSystemId())
            .append("typeId", getTypeId())
            .append("userId", getUserId())
            .append("storeId", getStoreId())
            .append("createUserId", getCreateUserId())
            .append("dateCreated", getDateCreated())
            .toString();
    }
}
